<?php
/**
 * RuiNuoCode低代码后台系统 - 团队十多年低代码经验汇集巨献!
 * =========================================================
 * Copy right 2019-2029 张家界瑞诺科技有限公司, 保留所有权利。
 * ----------------------------------------------
 * 官方网址: https://www.ruinuocrm.com
 * =========================================================
 */

namespace app\ruinuo\service\make;
//自定义页面
use app\common\model\RuinuoMake as DataMode;

//当前模型
use think\facade\Db;

class Custom
{
    /*保存前处理*/
    public function savebefore($params = [], $id = 0)
    {

        return $params;
    }

    /*保存后处理*/
    public function saveafter($id = 0)
    {
        $ThatMake = new \app\ruinuo\service\make\Make();
        $ThatMake->Index($id);
    }

    /*列表查询前处理*/
    public function listbefore($params = [])
    {
        return $params;
    }

    /*列表查询后处理*/
    public function listafter($params = [])
    {
        return $params;
    }

    /*单条查询后处理*/
    public function oneafter($params = [])
    {
        return $params;
    }

    /*删除前处理*/
    public function delbefore($del_id)
    {
        return $del_id;
    }

    /*删除后处理*/
    public function delafter($del_id)
    {
        return $del_id;
    }

    /*字段编辑前处理*/
    public function tablebefore($params = [])
    {
        return $params;
    }

    /*字段编辑后处理*/
    public function tableafter($params = [])
    {
        return $params;
    }

}